﻿using RXY_Mall.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RXY_Mall.Application.Order.Dto
{
    #region 物流
    /// <summary>
    /// 修改物流信息
    /// </summary>
    public class UpdateLogisticsInput : BaseInput
    {
        [Required(ErrorMessage = "订单号不能为空")]
        public int order_id { get; set; }
        [Required(ErrorMessage = "快递公司不能为空")]
        public string logistics_name { get; set; }
        [Required(ErrorMessage = "运单号不能为空")]
        public string waybill_no { get; set; }
    }

    /// <summary>
    /// 物流信息
    /// </summary>
    public class GetLogisticsOutput
    {
        /// <summary>
        /// 快递ID
        /// </summary>
        public int logistics_id { get; set; }
        /// <summary>
        /// 快递公司
        /// </summary>
        public string logistics_name { get; set; }
        /// <summary>
        /// 快递电话
        /// </summary>
        public string logistics_telephone { get; set; }
    }

    #endregion

    #region 订单
    public class GetOrderInfoOutput
    {
        /// <summary>
        /// 待付款数量
        /// </summary>
        public int pay_count { get; set; }
        /// <summary>
        /// 待分享数量
        /// </summary>
        public int group_count { get; set; }
        /// <summary>
        /// 待发货数量
        /// </summary>
        public int shipment_count { get; set; }
        /// <summary>
        /// 待收货数量
        /// </summary>
        public int receive_count { get; set; }
        /// <summary>
        /// 待评论数量
        /// </summary>
        public int comment_count { get; set; }
        /// <summary>
        /// 拼单失败
        /// </summary>
        public int failure_count { get; internal set; }
        /// <summary>
        /// 订单完成数量
        /// </summary>
        public int complete_count { get; internal set; }
        /// <summary>
        /// 订单取消
        /// </summary>
        public int cancel_count { get; internal set; }
        /// <summary>
        /// 退换数量
        /// </summary>
        public int return_count { get; set; }
    }

    /// <summary>
    /// 订单列表输出信息
    /// </summary>
    public class GetOrdersOutput
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public int order_id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>
        public int shop_id { get; internal set; }
        /// <summary>
        /// 店铺
        /// </summary>
        public string shop_name { get; internal set; }
        /// <summary>
        /// 公司
        /// </summary>
        public string company_name { get; internal set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string receiver_name { get; set; }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string receiver_mobile { get; set; }
        /// <summary>
        /// 订单价格
        /// </summary>
        public decimal goods_total { get; internal set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public int _pay_type { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int _order_status { get; set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public int _pay_status { get; set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public int _shipment_status { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public string pay_type { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string order_status { get; set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public string pay_status { get; set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public string shipment_status { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public System.DateTime add_time { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int user_id { get; set; }       
        /// <summary>
        /// 运费
        /// </summary>
        public decimal shipping_fee { get; internal set; }
        /// <summary>
        /// 优惠价
        /// </summary>
        public decimal discounts { get; internal set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal amount { get; internal set; }
        /// <summary>
        /// 配送区域
        /// </summary>
        public string area { get; internal set; }        
    }

    /// <summary>
    /// 订单详情输出信息
    /// </summary>
    public class GetOrderOutput
    {
        internal gw_order_waybill gw_order_waybill;
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int goods_count { get; set; }
        /// <summary>
        /// 商品价值
        /// </summary>
        public decimal goods_total { get; set; }
        /// <summary>
        /// 运费
        /// </summary>
        public decimal shipping_fee { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public decimal discounts { get; set; }
        /// <summary>
        /// 蚨豆
        /// </summary>
        public decimal beans { get; set; }
        /// <summary>
        /// 实际金额
        /// </summary>
        public decimal amount { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public int _pay_type { get; set; }
        /// <summary>
        /// 支付号
        /// </summary>
        public string pay_no { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? pay_time { get; set; }
        /// <summary>
        /// 拼单成功时间
        /// </summary>
        public DateTime? group_time { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? shipment_time { get; set; }
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime? receive_time { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime? comment_time { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime? cancel_time { get; set; }
        /// <summary>
        /// 失败时间
        /// </summary>
        public DateTime? failure_time { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? complete_time { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public byte _order_status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time { get; set; }
        /// <summary>
        /// 支付过期时间
        /// </summary>
        public DateTime pay_expire_time { get; set; }
        /// <summary>
        /// 订单地址
        /// </summary>
        public OrderAddress address { get; set; }
        /// <summary>
        /// 订单商品
        /// </summary>
        public List<OrderGoods> goods_list { get; set; }
        /// <summary>
        /// 运单信息
        /// </summary>
        public Waybill waybill { get; set; }
        /// <summary>
        /// 店铺
        /// </summary>
        public ShopOutput shop { get; internal set; }
        /// <summary>
        /// 退换货单
        /// </summary>
        public ReturnOrder return_order { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public int order_id { get; internal set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string order_status { get; internal set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public byte _shipment_status { get; internal set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public string shipment_status { get; internal set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public byte _pay_status { get; internal set; }
        /// <summary>
        /// 支付状态
        /// </summary>
        public string pay_status { get; internal set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public string pay_type { get; set; }
    }

    //导出订单类
    public class ExportOrder
    {
        public string order_no { get; set; }
        public decimal order_amout { get; set; }
        public string add_time { get; set; }
        public string finnshed_time { get; set; }
        public string deliver_explain { get; set; }
        public string reciver_info { get; set; }
        public string reciver_name { get; set; }
        public string shipping_code { get; set; }
        public string shipping_time { get; set; }
        public string shipping_name { get; set; }
        public string goodname { get; set; }//商品名称
        public string goodprice { get; set; }//商品单价
        public string goodnum { get; set; }//商品数量
        public string goods_specname { get; set; }//商品规格
        public string status { get; set; }//状态
    }
    #endregion

    #region 拼手气
    /// <summary>
    /// 拼手气列表输出信息
    /// </summary>
    public class GetOrderGroupsOutput
    {
        /// <summary>
        /// 拼单号
        /// </summary>
        public int group_id { get; set; }
        /// <summary>
        /// 拼单号
        /// </summary>
        public string group_no { get; set; }
        /// <summary>
        /// 需要人数
        /// </summary>
        public int require_num { get; set; }
        /// <summary>
        /// 参与人数
        /// </summary>
        public int user_num { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public decimal red_packet { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime add_time { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime expire_time { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public int _group_status { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public string group_status { get; set; }
        public int shop_id { get; internal set; }
        public string goods_name { get; internal set; }
        public string goods_picture_url { get; internal set; }
    }

    /// <summary>
    /// 拼手气详情
    /// </summary>
    public class GetOrderGroupOutput
    {
        /// <summary>
        /// 拼单号
        /// </summary>
        public int group_id { get; set; }
        /// <summary>
        /// 拼单号
        /// </summary>
        public string group_no { get; set; }
        /// <summary>
        /// 需要人数
        /// </summary>
        public int require_num { get; set; }
        /// <summary>
        /// 参与人数
        /// </summary>
        public int user_num { get; set; }
        /// <summary>
        /// 红包金额
        /// </summary>
        public decimal red_packet { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime add_time { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime expire_time { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public int _group_status { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public string group_status { get; set; }
        /// <summary>
        /// 参与拼单
        /// </summary>
        public List<OrderGroupUser> group_users { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>
        public int shop_id { get; internal set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int goods_id { get; internal set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string goods_name { get; internal set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string goods_picture_url { get; internal set; }        
    }

    /// <summary>
    /// 拼手气参与人
    /// </summary>
    public class OrderGroupUser
    {
        /// <summary>
        /// 用户账号
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public Nullable<int> order_id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 是否拼主
        /// </summary>
        public bool is_leader { get; set; }
        /// <summary>
        /// 是否获得商品
        /// </summary>
        public Nullable<bool> is_award { get; set; }
        /// <summary>
        /// 鼓励金红包
        /// </summary>
        public Nullable<decimal> acquire_red_packet { get; set; }
        /// <summary>
        /// 获得时间
        /// </summary>
        public Nullable<DateTime> acquire_time { get; set; }
        /// <summary>
        /// 拼单时间
        /// </summary>
        public System.DateTime add_time { get; set; }
        /// <summary>
        /// 助力状态
        /// </summary>
        public byte? _help_status { get; internal set; }
        /// <summary>
        /// 助力状态
        /// </summary>
        public string help_status { get; internal set; }
    }

    #endregion

    #region 合体免单
    /// <summary>
    /// 合体免单列表输出信息
    /// </summary>
    public class GetOrdeFreeGroupsOutput
    {
        /// <summary>
        /// 拼单号
        /// </summary>
        public int group_id { get; set; }
        /// <summary>
        /// 拼单号
        /// </summary>
        public string group_no { get; set; }
        /// <summary>
        /// 需要人数
        /// </summary>
        public int require_num { get; set; }
        /// <summary>
        /// 参与人数
        /// </summary>
        public int user_num { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime add_time { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime expire_time { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public int _group_status { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public string group_status { get; set; }
        public int shop_id { get; internal set; }
        public string goods_name { get; internal set; }
        public string goods_picture_url { get; internal set; }
        public string order_no { get; internal set; }
    }

    /// <summary>
    /// 获得合体免单详情输出信息
    /// </summary>
    public class GetOrderFreeGroupOutput
    {
        /// <summary>
        /// 拼单号
        /// </summary>
        public int group_id { get; set; }
        /// <summary>
        /// 拼单号
        /// </summary>
        public string group_no { get; set; }
        /// <summary>
        /// 需要人数
        /// </summary>
        public int require_num { get; set; }
        /// <summary>
        /// 参与人数
        /// </summary>
        public int user_num { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime add_time { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime expire_time { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public int _group_status { get; set; }
        /// <summary>
        /// 拼单状态
        /// </summary>
        public string group_status { get; set; }
        /// <summary>
        /// 参与人
        /// </summary>
        public List<OrderGroupUser> group_users { get; set; }
        public int shop_id { get; internal set; }
        public int goods_id { get; internal set; }
        public string goods_name { get; internal set; }
        public string goods_picture_url { get; internal set; }
    }

    #endregion

    #region 退换货
    /// <summary>
    /// 退换货列表输出信息
    /// </summary>
    public class GetOrderReturnsOutput
    {
        /// <summary>
        /// 退换货ID
        /// </summary>
        public int return_id { get; set; }
        /// <summary>
        /// 退换货号
        /// </summary>
        public string return_no { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string contact_name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string contact_mobile { get; set; }
        /// <summary>
        /// 店铺
        /// </summary>
        public string shop_name { get; set; }
        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal order_amount { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public Nullable<decimal> refund_amount { get; set; }
        /// <summary>
        /// 退换货类型
        /// </summary>
        public int _return_type { get; set; }
        /// <summary>
        /// 退换货类型
        /// </summary>
        public string return_type { get; set; }
        /// <summary>
        /// 退换货原因
        /// </summary>
        public int _return_reason { get; set; }
        /// <summary>
        /// 退换货原因
        /// </summary>
        public string return_reason { get; set; }
        /// <summary>
        /// 退换货状态
        /// </summary>
        public int _return_status { get; set; }
        /// <summary>
        /// 退换货状态
        /// </summary>
        public string return_status { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public System.DateTime add_time { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public System.DateTime expire_time { get; set; }
        /// <summary>
        /// 审核通过时间
        /// </summary>
        public Nullable<System.DateTime> audit_pass_time { get; set; }
        /// <summary>
        /// 审核未通过时间
        /// </summary>
        public Nullable<System.DateTime> audit_fail_time { get; set; }
        /// <summary>
        /// 买家发货时间
        /// </summary>
        public Nullable<System.DateTime> user_shipment_time { get; set; }
        /// <summary>
        /// 卖家收货时间
        /// </summary>
        public Nullable<System.DateTime> shop_receive_time { get; set; }
        /// <summary>
        /// 商家退款时间
        /// </summary>
        public Nullable<System.DateTime> shop_refund_time { get; set; }
        /// <summary>
        /// 商家发货时间
        /// </summary>
        public Nullable<System.DateTime> shop_shipment_time { get; set; }
        /// <summary>
        /// 卖家收货时间
        /// </summary>
        public Nullable<System.DateTime> user_receive_time { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public Nullable<System.DateTime> complete_time { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
        public Nullable<System.DateTime> cancel_time { get; set; }
        public int shop_id { get; internal set; }
        public decimal shipping_fee { get; internal set; }
        public bool _is_shipping_fee { get; internal set; }
        public string is_shipping_fee { get; internal set; }
    }

    /// <summary>
    /// 退换货详情输出信息
    /// </summary>
    public class GetReturnOutput : GetOrderReturnsOutput
    {
        internal gw_return_audit gw_return_audit;

        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int order_id { get; set; }

        /// <summary>
        /// 店铺信息
        /// </summary>
        public ShopOutput shop { get; internal set; }
        /// <summary>
        /// 订单商品
        /// </summary>
        public OrderGoods goods { get; set; }
        /// <summary>
        /// 买家运单信息
        /// </summary>
        public Waybill buyer_waybill { get; set; }
        /// <summary>
        /// 商家运单信息
        /// </summary>
        public Waybill merchant_waybill { get; set; }
        /// <summary>
        /// 申请信息
        /// </summary>
        public ReturnRequest request { get; internal set; }
        /// <summary>
        /// 审核信息
        /// </summary>
        public ReturnAudit audit { get; set; }
        /// <summary>
        /// 进度
        /// </summary>
        public List<ProcessItem> process { get; set; }
    }


    public class ReturnOrder
    {
        /// <summary>
        /// 退单号
        /// </summary>
        public string return_no { get; set; }
        /// <summary>
        /// 是否可申请售后
        /// </summary>
        public bool is_return_request { get; set; }
    }

    /// <summary>
    /// 运单信息
    /// </summary>
    public class Waybill
    {
        /// <summary>
        /// 运单号
        /// </summary>
        public string waybill_no { get; set; }
        /// <summary>
        /// 物流公司
        /// </summary>
        public string company_name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string telphone { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time { get; set; }
    }

    /// <summary>
    /// 订单商品
    /// </summary>
    public class OrderGoods
    {
        public string json_specs { get; set; }
        /// <summary>
        /// 商品类别ID
        /// </summary>
        public int category_id { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public int goods_id { get; set; }
        /// <summary>
        /// 商品类型
        /// </summary>
        public GoodsType goods_type { get; set; }
        /// <summary>
        /// 商品名
        /// </summary>
        public string goods_name { get; set; }
        /// <summary>
        /// 购买类型
        /// </summary>
        public BuyType buy_type { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public List<SpecOutput> specs { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal goods_price { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int goods_quantity { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string picture_url { get; set; }
    }

    /// <summary>
    /// 订单地址
    /// </summary>
    public class OrderAddress
    {
        /// <summary>
        /// 收货人
        /// </summary>
        public string accepter_name { get; set; }
        /// <summary>
        /// 电话号码
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 省市区逗号分隔
        /// </summary>
        public string area { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string address { get; set; }
    }

    /// <summary>
    /// 商品规格输出类
    /// </summary>
    public class SpecOutput
    {
        /// <summary>
        /// 规格键
        /// </summary>
        public string spec_key { get; set; }
        /// <summary>
        /// 规格值
        /// </summary>
        public string spec_value { get; set; }
    }

    /// <summary>
    /// 店铺输出类
    /// </summary>
    public class ShopOutput
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public int shop_id { get; set; }
        /// <summary>
        /// 店铺名称
        /// </summary>
        public string shop_name { get; set; }
        /// <summary>
        /// 店铺logo
        /// </summary>
        public string shop_logo { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int goods_count { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public int order_count { get; set; }
        /// <summary>
        /// 固定电话
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 微信
        /// </summary>
        public string wechat { get; set; }
        /// <summary>
        /// QQ
        /// </summary>
        public string qq { get; set; }
    }

    /// <summary>
    /// 进度项
    /// </summary>
    public class ProcessItem
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime date { get; set; }
    }

    /// <summary>
    /// 申请信息
    /// </summary>
    public class ReturnRequest
    {
        /// <summary>
        /// 退换货类型
        /// </summary>
        public ReturnType return_type { get; set; }
        /// <summary>
        /// 退换货原因
        /// </summary>
        public ReturnReason return_reason { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string contact_name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string contact_mobile { get; set; }
        /// <summary>
        /// 凭证图片
        /// </summary>
        public List<string> pictures { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public long add_time { get; set; }
    }

    /// <summary>
    /// 商家审核
    /// </summary>
    public class ReturnAudit
    {
        /// <summary>
        /// 是否通过
        /// </summary>
        public string is_pass { get; set; }
        /// <summary>
        /// 审核说明
        /// </summary>
        public string audit_note { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime add_time { get; set; }
    }

    /// <summary>
    /// 修改审核
    /// </summary>
    public class UpdateReturnAuditInput : BaseInput
    {
        /// <summary>
        /// 服务号ID
        /// </summary>
        public int return_id { get; set; }
        /// <summary>
        /// 是否通过
        /// </summary>
        public int is_pass { get; set; }
        /// <summary>
        /// 审核说明
        /// </summary>
        public string audit_note { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string audit_remark { get; set; }
        /// <summary>
        /// 是否退运费
        /// </summary>
        public int is_shipping_fee { get; set; }
    }


    /// <summary>
    /// 修改退款
    /// </summary>
    public class UpdateReturnRefundInput : BaseInput
    {
        /// <summary>
        /// 服务号ID
        /// </summary>
        public int return_id { get; set; }
    }

    /// <summary>
    /// 修改发货
    /// </summary>
    public class UpdateReturnShipmentInput : BaseInput
    {
        [Required(ErrorMessage = "服务号不能为空")]
        public int return_id { get; set; }
        [Required(ErrorMessage = "快递公司不能为空")]
        public string logistics_name { get; set; }
        [Required(ErrorMessage = "运单号不能为空")]
        public string waybill_no { get; set; }
    }

    #endregion

    #region 结算
    public class AddSettlementInput : BaseInput
    {
        public int order_id { get; set; }
    }

    #endregion

}
